MuleSoft Accelerators - Common Services
Common scheduler
The Common Scheduling Service is an optional component that will run schedules and perform API calls. The benefit of having a common scheduler service is to have all the integration-level schedules maintained in one place. Here is a high-level view of how the scheduler service works:
The service may be built in two different ways, depending on the target deployment platform. The Anypoint Platform offers operational advantages to applications deployed in CloudHub when dealing with schedules.
High-level workflow:
Here is a high level description of the workflow for the scheduler process:
A predefined schedule is triggered. Schedules have enriched information about the last execution such as SCHEDULE_TYPE and WATERMARK.
The scheduling service calls the job configured for this event and updates the schedule status to "TRIGGERED" with a current timestamp. A Trigger ID and CALLBACK URL are generated.
Once the process completes, it does a call-back to the scheduling status service through the callback URLs to report the execution status.
For service configuration details please refer to the Accelerators setup guide as well as the implementation template for the services itself.